package com.aiwei.tdjk.dao.extend;

import com.aiwei.tdjk.dao.mbg.ResourceMapper;
import com.aiwei.tdjk.entity.Resource;

import java.util.List;


public interface ResourceExtendMapper extends ResourceMapper {


    int insertSelective(Resource job);
    /**
     * 根据名称模糊查询组织机构
     * @param name
     * @return
     */
    List<Resource> findAllByName(String name);


    void deleteSelfAndChild(long id, String makeSelfAsNewParentIds);
}